<?php if($article){?>
<div class="panel panel-info">
					<div class="panel-heading">
						<h4 class="panel-title">
							<a data-toggle="collapse" data-parent="#accordion"
								href="#collapseOne"> Articles</a>
						</h4>
					</div>
					<div id="collapseOne" class="panel-collapse collapse in">
						<div class="panel-body">
						
						<? foreach($article as $article):?>
						<p class="text-black">
					<div class="small text-warning"><?= $article->title;?>
						</div>
						</p>
							<div class="small text-muted">
						<?= substr(strip_tags($article->description),0,150);?>
						</div>
						<small class="pull-right text text-success">
						Posted By : Mr. <?= substr($this->profile_model->getProfile($article->profile_id)->title,0,10);?>
						</small>
						<hr>
						<?php endforeach;?>
						</div>
					</div>
				</div>
<?php }?>
